<?php

class FckEditorTest extends CI_Controller {
	
	public $data 	= 	array();
	
	public function __construct() {
		
		parent::__construct();
		
	}
	
	public function index() {
		
		$this->fckeditorform();
		
	}
	
	function fckeditorform(){
	   $fckeditorConfig = array(
			  'instanceName' => 'content',
			  'BasePath' => base_url().'system/plugins/fckeditor/',
			  'ToolbarSet' => 'default',
			  'Width' => '100%',
			  'Height' => '200',
			  'Value' => ''
				);
				print_r($fckeditorConfig);
	   $this->load->library('fckeditor', $fckeditorConfig);
	   
	   $this->load->view('fckeditor');
	}
	function fckeditorshowpost(){
			echo $this->input->post('content');
	}
}